/*
 * Board.h
 *
 *  Created on: 06/12/2009
 *      Author: Diego
 */

#ifndef ARCHECKERSMOB_H_
#define ARCHECKERSMOB_H_

#include <e32base.h>
#include <GLES/gl.h>
#include "game/Board.h"

class CARCheckersMob
	{
public:
	CARCheckersMob();
	virtual ~CARCheckersMob();
	static CARCheckersMob* NewL( TUint, TUint );
	void AppInit( void );
	void AppExit( void );
	void AppCycle( TInt iFrame );
	void Draw( GLfloat aSizeX, GLfloat aSizeY, GLfloat aSizeZ );
	void DrawRectXY(GLfloat x, GLfloat y, GLfloat l);
	
protected:
	CARCheckersMob(TUint, TUint);
	void ConstructL(void);
	
private:
	TUint iScreenWidth;
	TUint iScreenHeight;
	CBoard* iBoard;
	};

#endif /* BOARD_H_ */
